package com.example.chatchatbackend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chatchatbackend.entity.dto.Payment;
import com.example.chatchatbackend.entity.dto.Payment;
import com.example.chatchatbackend.entity.dto.Shopping;
import com.example.chatchatbackend.entity.vo.request.PaymentVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 丁真
 * @since 2024-10-28 05:03:47
 */
public interface PaymentService extends IService<Payment> {

    List<Payment> getAllPayment();

    IPage<Payment> pageThree(Integer pageNum, Integer pageSize) ;

    PaymentVO insertPayment(PaymentVO paymentVO);

    List<PaymentVO> insertPaymentList(List<PaymentVO> paymentVOList);

    PaymentVO updatePayment(PaymentVO paymentVO);

    void deleteByIds(List<Integer> ids);
}
